home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload Trio 2 / Shareware Overload Trio Volume 2 (Chestnut CD-ROM).ISO / dir26 / epi601_2.zip / FILES07.EXE / QUERY.DOC < prev    next >
Text File  |  1994-08-22  |  1KB  |  23 lines

  1.  
  2.  QUERY "prompt", [key-list] <options>
  3.  QUERY filename, [key-list] <options>
  4.  
  5.     When QUERY is run, it displays the text specified on the command line
  6. (either displaying the quoted string, or outputting the contents of the
  7. specified file, depending on how QUERY was invoked), and then awaits
  8. a valid response.  A valid response is one contained in the key-list.  The
  9. key-list can contain function keys by enclosing them in []s (e.g. [f10]).
  10. If no key-list is specified, any key is acceptable.  An errorlevel is
  11. returned based on the response's position in the key-list (i.e. the 1st
  12. key in the key-list is errorlevel 1, the 2nd is level 2, etc.)
  13.  
  14. The options for QUERY are:
  15.   /t# /a# /b# /e#  - Numbers controlling the color of the text, the
  16.                      A and B highlight levels and the entry blank.
  17.   /c               - Clears the screen before displaying the prompt
  18.                      (the default if the prompt comes from a file).
  19.   /x# /y#          - Controls the positioning of the entry field for input.
  20.   /s#              - Controls which section of the file will be displayed.
  21.                      Sections are delimited by ^Ds (the default is 0).
  22.   /p="Prompt text" - Allows specification of both a file and a prompt string.
  23.   /g               - Enables a short beep when an invalid response is chosen.